package io.renren.sdapi.dto.httprequestparam;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class QueryHistoryDto {

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;

    /**
     * 每页显示条数默认1000条
     */
    @Schema(description = "每页显示条数默认1000条")
    private Long pageSize = 10L;
    /**
     * 当前页码默认第一页
     */
    @Schema(description = "当前页码默认第一页")
    private Long pageNum = 1L;
}
